<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CIAI: Référence du fichier mere/mere.c</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CIAI
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_a9ef0b34f873978c48282a5516911929.html">mere</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier mere.c</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;sys/stat.h&gt;</code><br/>
<code>#include &lt;mqueue.h&gt;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;sched.h&gt;</code><br/>
<code>#include &lt;pthread.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;unistd.h&gt;</code><br/>
<code>#include &lt;sys/time.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="mere_8h_source.html">mere.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="reception__linux_8h_source.html">reception_linux.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="envoi_8h_source.html">../reseau/envoi.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="erreurs_8h_source.html">../erreur/erreurs.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="log_8h_source.html">../messages/log.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="utils_8h_source.html">../utils/utils.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="partage__simu_8h_source.html">../interface/partage_simu.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="messqueue_8h_source.html">../interface/messqueue.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="mutexpartage_8h_source.html">../interface/mutexpartage.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="init__functions_8h_source.html">../ChaineCond/init_functions.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Graphe des dépendances par inclusion de mere.c:</div>
<div class="dyncontent">
<div class="center"><img src="mere_8c__incl.png" border="0" usemap="#mere_2mere_8c" alt=""/></div>
<map name="mere_2mere_8c" id="mere_2mere_8c">
<area shape="rect" id="node21" href="mere_8h.html" title="mere.h" alt="" coords="1053,91,1115,119"/><area shape="rect" id="node24" href="reception__linux_8h.html" title="reception_linux.h" alt="" coords="320,91,437,119"/><area shape="rect" id="node26" href="messqueue_8h.html" title="../interface/messqueue.h" alt="" coords="299,177,459,205"/><area shape="rect" id="node28" href="envoi_8h.html" title="../reseau/envoi.h" alt="" coords="461,91,576,119"/><area shape="rect" id="node31" href="erreurs_8h.html" title="../erreur/erreurs.h" alt="" coords="1613,91,1731,119"/><area shape="rect" id="node33" href="log_8h.html" title="../messages/log.h" alt="" coords="600,91,720,119"/><area shape="rect" id="node36" href="utils_8h.html" title="../utils/utils.h" alt="" coords="155,91,245,119"/><area shape="rect" id="node40" href="partage__simu_8h.html" title="../interface/partage\l_simu.h" alt="" coords="1755,83,1883,127"/><area shape="rect" id="node45" href="mutexpartage_8h.html" title="../interface/mutexpartage.h" alt="" coords="1139,91,1312,119"/><area shape="rect" id="node50" href="init__functions_8h.html" title="../ChaineCond/init\l_functions.h" alt="" coords="1907,83,2029,127"/></map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr class="memitem:a5e12a3b6e744060d0371be58ecb80dac"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mere_8c.html#a5e12a3b6e744060d0371be58ecb80dac">mere</a> (void *parameter)</td></tr>
<tr class="memitem:aa1f9e596f42da073eb45d24686f43ef9"><td class="memItemLeft" align="right" valign="top">pthread_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mere_8c.html#aa1f9e596f42da073eb45d24686f43ef9">lancer_thread_envoi</a> ()</td></tr>
</table>
<a name="details" id="details"></a><h2>Description détaillée</h2>
<div class="textblock"><dl class="section author"><dt>Auteur</dt><dd>H4201 </dd></dl>
</div><h2>Documentation des fonctions</h2>
<a class="anchor" id="aa1f9e596f42da073eb45d24686f43ef9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pthread_t lancer_thread_envoi </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sert à créer le thread "Envoi Linux" </p>
<dl class="section return"><dt>Renvoie</dt><dd>Identifiant du thread "Envoi Linux" </dd></dl>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mere_8c_aa1f9e596f42da073eb45d24686f43ef9_cgraph.png" border="0" usemap="#mere_8c_aa1f9e596f42da073eb45d24686f43ef9_cgraph" alt=""/></div>
<map name="mere_8c_aa1f9e596f42da073eb45d24686f43ef9_cgraph" id="mere_8c_aa1f9e596f42da073eb45d24686f43ef9_cgraph">
<area shape="rect" id="node3" href="envoi_8c.html#a11d5b87d56edc94eae8a4d95d38271fe" title="envoi_linux" alt="" coords="192,5,277,33"/><area shape="rect" id="node5" href="envoi_8c.html#af53be4eaba58d47ceebb3d3dc3aeb721" title="envoyer" alt="" coords="325,5,392,33"/><area shape="rect" id="node7" href="traducteur__message_8c.html#a49cdda73eb2d7f1ce68a4f119834e7e0" title="serialiser_message" alt="" coords="440,5,571,33"/><area shape="rect" id="node9" href="traducteur__message_8c.html#a5d76d9bb0261966360a63a1eb267923b" title="nb_params_message" alt="" coords="620,5,761,33"/></map>
</div>
</p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mere_8c_aa1f9e596f42da073eb45d24686f43ef9_icgraph.png" border="0" usemap="#mere_8c_aa1f9e596f42da073eb45d24686f43ef9_icgraph" alt=""/></div>
<map name="mere_8c_aa1f9e596f42da073eb45d24686f43ef9_icgraph" id="mere_8c_aa1f9e596f42da073eb45d24686f43ef9_icgraph">
<area shape="rect" id="node3" href="reception__linux_8h.html#a59373e9a9845cc0fd224520496bb1d67" title="initialiser_application" alt="" coords="192,5,333,33"/><area shape="rect" id="node5" href="reception__linux_8h.html#a42466b8fdf4ecd00121528fd9ee540a1" title="reception_linux" alt="" coords="383,5,489,33"/><area shape="rect" id="node7" href="mere_8h.html#a5e12a3b6e744060d0371be58ecb80dac" title="mere" alt="" coords="539,5,589,33"/><area shape="rect" id="node9" href="main_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="637,5,688,33"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5e12a3b6e744060d0371be58ecb80dac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* mere </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>parameter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Fonction qui sert de point d'entré au thread "Mere" </p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramname">parameter</td><td>inutilisé ici </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mere_8c_a5e12a3b6e744060d0371be58ecb80dac_cgraph.png" border="0" usemap="#mere_8c_a5e12a3b6e744060d0371be58ecb80dac_cgraph" alt=""/></div>
<map name="mere_8c_a5e12a3b6e744060d0371be58ecb80dac_cgraph" id="mere_8c_a5e12a3b6e744060d0371be58ecb80dac_cgraph">
<area shape="rect" id="node3" href="reception__linux_8c.html#a42466b8fdf4ecd00121528fd9ee540a1" title="reception_linux" alt="" coords="144,599,251,627"/><area shape="rect" id="node59" href="log_8c.html#af4ef7604e26e41d59fd19e907d772c5e" title="ecriture_journal" alt="" coords="619,5,728,33"/><area shape="rect" id="node68" href="erreurs_8c.html#a73696578ceaad9d36862980850252ebc" title="erreurs" alt="" coords="167,954,228,982"/><area shape="rect" id="node74" href="init__functions_8c.html#a6597b9dead92c130f755c84926767011" title="init_chaine_cond" alt="" coords="139,194,256,222"/><area shape="rect" id="node109" href="init__functions_8c.html#a5b21db94b5c79bf100ca25e1a3e4a534" title="detruire_objets_chaine_cond" alt="" coords="104,1055,291,1083"/><area shape="rect" id="node5" href="connexion_8c.html#aa88082d8499be5c82d4b8fbaca05f48e" title="ouvrir_connexion_supervision" alt="" coords="340,599,527,627"/><area shape="rect" id="node7" href="reception_8c.html#acf09e3aefd6a479fa99960915f0fe66d" title="recevoir" alt="" coords="400,751,467,779"/><area shape="rect" id="node13" href="reception__linux_8c.html#a59373e9a9845cc0fd224520496bb1d67" title="initialiser_application" alt="" coords="363,701,504,729"/><area shape="rect" id="node23" href="erreurs_8c.html#ae9c2430fd2e213a44e0b7a3550673c0b" title="fermer_clapet" alt="" coords="623,954,724,982"/><area shape="rect" id="node25" href="erreurs_8c.html#ad1f435ab4f23c0326a600492ea77754b" title="remplir_semaphore" alt="" coords="368,549,499,577"/><area shape="rect" id="node27" href="erreurs_8c.html#a16eb2c916fd6c4d436fc16676099d875" title="statut_semaphore" alt="" coords="372,903,495,931"/><area shape="rect" id="node29" href="erreurs_8c.html#a62e50019739c6f39206eb601f93b0ae7" title="ouvrir_clapet" alt="" coords="627,523,720,551"/><area shape="rect" id="node31" href="mise__en__carton_8c.html#aea1d44e913085224ae9bb466bb7db8fb" title="supprimer_carton_courant" alt="" coords="348,447,519,475"/><area shape="rect" id="node33" href="mise__en__palette_8c.html#a558cec3bedb256ac120accd52232ec64" title="vider_bal_impression" alt="" coords="363,346,504,374"/><area shape="rect" id="node39" href="stockage_8c.html#aae19d9a76abbdb0fc7de068aba285734" title="vider_bal_palettes" alt="" coords="371,397,496,425"/><area shape="rect" id="node42" href="impression_8c.html#a058296c92ce0cf304c727b654193689b" title="vider_bal_cartons" alt="" coords="372,295,495,323"/><area shape="rect" id="node45" href="reception__linux_8c.html#a80df2c4c7e274b26cdbedadee302bdc3" title="demarrer_production" alt="" coords="364,650,503,678"/><area shape="rect" id="node50" href="reception__linux_8c.html#ae2f0fdf88195fcb6a6cbd2349da81ea6" title="arreter_application" alt="" coords="369,802,497,830"/><area shape="rect" id="node9" href="traducteur__message_8c.html#a98c2f26354ccf66e08243284bcf75684" title="deserialiser_message" alt="" coords="601,751,745,779"/><area shape="rect" id="node11" href="traducteur__message_8c.html#a5d76d9bb0261966360a63a1eb267923b" title="nb_params_message" alt="" coords="829,751,971,779"/><area shape="rect" id="node15" href="mise__en__palette_8c.html#a84cfa14fcce6b2074d8db96eb639aefe" title="init_globaux_pal" alt="" coords="616,650,731,678"/><area shape="rect" id="node19" href="mere_8c.html#aa1f9e596f42da073eb45d24686f43ef9" title="lancer_thread_envoi" alt="" coords="605,701,741,729"/><area shape="rect" id="node17" href="mise__en__palette_8c.html#a45e35fd2f19e52f3b2d54943370513cd" title="init_nb_cart_pal" alt="" coords="844,309,956,337"/><area shape="rect" id="node21" href="envoi_8c.html#a11d5b87d56edc94eae8a4d95d38271fe" title="envoi_linux" alt="" coords="857,701,943,729"/><area shape="rect" id="node35" href="utils_8c.html#aacac810c891d5f289b728a47fecd8990" title="vider_bal" alt="" coords="637,410,709,438"/><area shape="rect" id="node37" href="utils_8c.html#a93cce4af3279988cb3df9260ca5821c9" title="lire_message" alt="" coords="852,207,948,235"/><area shape="rect" id="node47" href="mise__en__carton_8c.html#a063f3c9d4e03d62f2eb7db360fe8b9fc" title="charger_lot" alt="" coords="631,599,716,627"/><area shape="rect" id="node53" href="mise__en__carton_8c.html#a196289fbc56c77e0de43da39a33a3fbb" title="demander_arret" alt="" coords="617,903,729,931"/><area shape="rect" id="node55" href="init__functions_8c.html#a77986b66fb2a71bb8f2289917436f66a" title="join_all_threads" alt="" coords="619,802,728,830"/><area shape="rect" id="node57" href="connexion_8c.html#aaa16680bbfb905c46a9b66b57eb6e679" title="fermer_connexion_supervision" alt="" coords="576,853,771,881"/><area shape="rect" id="node61" href="utils_8c.html#a686f24e9640832dbb30f2e4a9251f01b" title="ouvrir_mqueue" alt="" coords="1036,106,1143,134"/><area shape="rect" id="node64" href="log_8c.html#a062f7dd50f82fbab2dbf3a16af70e35c" title="ecrire_mes" alt="" coords="857,5,943,33"/><area shape="rect" id="node66" href="log_8c.html#a098796b116a463f57fb02e00fca5d576" title="traduction_heure" alt="" coords="1031,5,1148,33"/><area shape="rect" id="node70" href="erreurs_8c.html#a2907b1e1395a023bb4d99ff725800412" title="arret_urgence" alt="" coords="383,954,484,982"/><area shape="rect" id="node76" href="init__functions_8c.html#a44f33a58abcdd19e156e3a546906641b" title="init_shm" alt="" coords="399,169,468,197"/><area shape="rect" id="node78" href="init__functions_8c.html#af4d80e6f9e9cecd3ad425229d0a17c51" title="init_boite_au_lettres" alt="" coords="365,93,501,121"/><area shape="rect" id="node82" href="init__functions_8c.html#a896a55a03eb32f8a7f8bb2ee53f15c13" title="launch_threads" alt="" coords="379,219,488,247"/><area shape="rect" id="node80" href="utils_8c.html#a38f5c30ca5fb00f064f9f4cddc460829" title="creer_mqueue" alt="" coords="621,55,725,83"/><area shape="rect" id="node84" href="utils_8c.html#a7fe9ddd0b4e4c98f3b9736150ac9183a" title="creer_thread_tr" alt="" coords="619,207,728,235"/><area shape="rect" id="node86" href="mise__en__carton_8c.html#ac987cd0672dd22ed0cd0d0e3ea46724f" title="mise_en_carton" alt="" coords="617,359,729,387"/><area shape="rect" id="node93" href="impression_8c.html#a55f1f44c7e34617f2017c31f4775377b" title="impression" alt="" coords="632,106,715,134"/><area shape="rect" id="node99" href="mise__en__palette_8c.html#a92fda05eac938397df778304ce3cd39a" title="mise_en_palette" alt="" coords="616,309,731,337"/><area shape="rect" id="node103" href="stockage_8c.html#a21774f4680867493ea86b2d85ce3ab48" title="stockage" alt="" coords="636,258,711,286"/><area shape="rect" id="node106" href="retrait_8c.html#af8f853f7692ca3663240c360240fc6bd" title="retrait" alt="" coords="647,157,700,185"/><area shape="rect" id="node88" href="mise__en__carton_8c.html#a461ce8170fd6efbbc7eeae1fb6413d5a" title="init_mise_en_carton" alt="" coords="832,359,968,387"/><area shape="rect" id="node91" href="mise__en__carton_8c.html#a3215b1c66e8f443a692d1d3a4a4a5b55" title="detruire_mise_en_carton" alt="" coords="819,410,981,438"/><area shape="rect" id="node95" href="impression_8c.html#a248af3d0cd349668119d72357bb0677a" title="init_impression" alt="" coords="847,106,953,134"/><area shape="rect" id="node111" href="init__functions_8c.html#a2cd342ac9fd138e7b6b0dd3984423b2f" title="destr_boite_au_lettres" alt="" coords="360,1106,507,1134"/><area shape="rect" id="node113" href="init__functions_8c.html#a6242944f27f10c51a5009eee7737b282" title="destr_shm" alt="" coords="393,1055,473,1083"/></map>
</div>
</p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mere_8c_a5e12a3b6e744060d0371be58ecb80dac_icgraph.png" border="0" usemap="#mere_8c_a5e12a3b6e744060d0371be58ecb80dac_icgraph" alt=""/></div>
<map name="mere_8c_a5e12a3b6e744060d0371be58ecb80dac_icgraph" id="mere_8c_a5e12a3b6e744060d0371be58ecb80dac_icgraph">
<area shape="rect" id="node3" href="main_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="104,5,155,33"/></map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Généré le Lundi Décembre 17 2012 02:23:17 pour CIAI par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>
